﻿namespace qYun.ApiService.Models;

/// <summary>
/// 
/// </summary>
public class SystemConfig
{
    /// <summary>
    /// 
    /// </summary>
    public DeviceConfig? Camera { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public DeviceConfig? YunHe { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public DeviceConfig? PLC { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public GasContentConfig? GasContent { get; set; }
}
/// <summary>
/// 
/// </summary>
public class DeviceConfig
{
    /// <summary>
    /// 
    /// </summary>
    public string? DeviceIp { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string? DevicePort { get; set; }
}

/// <summary>
/// 
/// </summary>
public class GasContentConfig : DeviceConfig
{
    /// <summary>
    /// 
    /// </summary>
    public string? SlaveId { get; set; }
}